package com.gzyz.cheetah.enums.entityproperty;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 文档状态
 *
 * @author xclhove
 */

@Getter
@AllArgsConstructor
public enum DocumentStatus {
    NORMAL(1, "正常"),
    FROZEN(2, "冻结"),
    ;
    @EnumValue
    private final int value;
    @JsonValue
    private final String description;
}
